package qp.utils;

public class Order
{
    public Attribute attr;
    public String AscOrDesc;
    
    public Order(Attribute attr, String S)
    {
    	this.attr=attr;
    	this.AscOrDesc=S;
    }
    
    public Attribute getAttribute()
    {
    	return this.attr;
    }
    
    public void setAttribute(Attribute Attr)
    {
    	this.attr=Attr;
    }
    
    public String getAscOrDesc()
    {
    	return this.AscOrDesc;
    }
    
    public void setAscOrDesc(String S)
    {
    	this.AscOrDesc=S;
    }
    
    public Object clone()
    {
    	Order neworder=new Order((Attribute)this.attr.clone(),this.AscOrDesc);
    	return neworder;
    }
}
